import Vue from 'vue'
import VueRouter from 'vue-router'
import Main from '../views/main.vue'
import routerList from '../util/routerList.js'

console.log(routerList);
Vue.use(VueRouter)

const routes = [{
		path: '/',
		component: Main,
		children: routerList
	}
]

const router = new VueRouter({
	routes
})

export default router
